package com.qumitech.visualnovel.service.union;

import com.qumitech.visualnovel.model.common.BaseRsp;
import com.qumitech.visualnovel.pubdef.dto.union.*;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UnionService {

    //admin接口
    BaseRsp saveUnionConfig(UnionConfigSaveAdminDTO saveAdminDTO);
    BaseRsp updateUnionConfig(String unionId, UnionConfigSaveAdminDTO updateAdminDTO);
    BaseRsp listUnionConfig(UnionConfigQueryAdminDTO queryAdminDTO);


    void saveUnionUserInfo(UnionUserInfoSaveAdminDTO saveAdminDTO);
    void rmUnionUserInfo(Integer uid);
    void updateUserInfo(Integer uid, String password, Byte deleteFlag);
    List<UnionUserInfoDTO> listUnionUserInfo(UnionUserInfoQueryAdminDTO queryAdminDTO);
    String findUnionIdByUnionName(UnionUserInfoQueryAdminDTO queryAdminDTO);
    Integer countUnionUserInfo(UnionUserInfoQueryAdminDTO queryAdminDTO);





    BaseRsp listUnionAnchorApply(UnionAnchorApplyQueryAdminDTO queryAdminDTO);







}
